package com.znsd.stu.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.znsd.entitys.Users;

public interface UserDao {
	
	public Users checkUsername(Users users);
	
	public Users checkUserPhone(String phone);
	/* public Users checkUsername(String username); */
	public int addUser(Users user);
	public Users checkId(int user_id);

	public Integer updateUser(Users user);

	public List<Users> queryLimitUser(@Param("pageIndex")Integer pageIndex,@Param("limit") Integer limit);

	public Integer queryUserCount();

	public Integer updateuserRole(Users user);
}
